package org.loneranger.p1_get_bean.bean;

import org.springframework.stereotype.Component;

@Component()
public class MyDog {

	private String name = "oio";

	private Integer age = 5;

	public void wang() {
		System.out.println("小狗汪汪（名字：" + name + "，年龄：" + age + "）");
	}

}
